// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

// 按需使用vant组件
import {Button, Row, Col, Swipe, SwipeItem, Lazyload, List, Field, NavBar, Toast, Tab, Tabs, pullRefresh, Tabbar, TabbarItem, Cell, CellGroup , Stepper} from 'vant'
Vue.use(Button).use(Row).use(Col).use(Swipe).use(SwipeItem).use(Lazyload).use(List).use(Field).use(NavBar).use(Toast).use(Tab).use(Tabs).use(pullRefresh).use(Tabbar).use(TabbarItem).use(Cell).use(CellGroup).use(Stepper)

// 使用vue-awesome-swiper  两种使用方式，第一种全局引入 第二种在shoppingMall.vue组件中，哪里用，哪里引入
// import VueAwesomeSwiper from 'vue-awesome-swiper';
// // require styles
// import 'swiper/dist/css/swiper.css'
// Vue.use(VueAwesomeSwiper) /* { default global options } */


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
